/*
 * xqtimer.h
 *
 *  Created on: Apr 13, 2020
 *      Author: WangXi
 */

#ifndef APP_XQ_APP_XQTIMER_H_
#define APP_XQ_APP_XQTIMER_H_

#define XQ_TIMER        "xq_timer"

#include <timer.h>
#include <stdint.h>
#include <stddef.h>
#include "xqbox.h"

bool_t all_lighting_timer(u32 delay);

bool_t all_uvc_timer(u32 delay);

void lighting_timer(enum LightingType type, u16 box_id, u16 delay);

void stop_lighting_timer(enum LightingType type, u16 box_id);

void lock_open_error_timer(u16 box_id, u16 delay);

void stop_lock_error_timer(u16 box_id);


#endif /* APP_XQ_APP_XQTIMER_H_ */
